<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<link rel="stylesheet" type="text/css" href="<s:url value="/"></s:url>script/jquery/jqgrid/css/ui.jqgrid.css" />
	<link rel="stylesheet" type="text/css" href="<s:url value="/"></s:url>script/jquery/css/redmond/jquery-ui-1.7.2.custom.css" />
	<script type="text/javascript" src="<s:url value="/"></s:url>script/jquery/lib/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="<s:url value="/"></s:url>script/jquery/lib/jquery.bgiframe.min.js"></script>
	<script type="text/javascript" src="<s:url value="/"></s:url>script/jquery/jqgrid/src/i18n/grid.locale-ch.js"></script>
	<script type="text/javascript" src="<s:url value="/"></s:url>script/jquery/jqgrid/js/jquery.jqGrid.min.js"></script>
	<script type="text/javascript" src="<s:url value="/"></s:url>script/jquery/jqgrid/js/grid.tbltogrid.js"></script>
	
	<script type="text/javascript">
		    $(document).ready(function (){
		    	tableToGrid("#reportListTbId",{caption:'需求单报表',width:($(window).width()*0.96),height:'300',colspan:'3',shrinkToFit:false});			
				alert($('#reportListTbId').html());
			});
	
	</script>
  </head>
  
  <body>
    <table id="reportListTbId" border="1">
    	<thead>
    		<tr>
    			<th width="200">a</th>
    			<th width="100">b</th>
    			<th>c</th>
    			<th>d</th>
    			<th>ffffff</th>
    		</tr>
    	</thead>
    	<tbody>
    		<tr>
    			<td>111111</td>
    			<td>222222</td>
    			<td colspan="3">3333333333</td>
    		</tr>
    		  		
    	</tbody>
    </table>
    
    
  </body>
</html>
